-- GENERATED SPELL FOR [Lo'Grosh] --


function spell0_2453(pUnit, Event) --@Bloodlust,n/a--
pUnit:FullCastSpellOnTarget(6742,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_2453', 30312, 1)
end

function spell1_2453(pUnit, Event) --@Fire Shield III,n/a--
pUnit:FullCastSpellOnTarget(2601,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_2453', 31000, 1)
end

function spell2_2453(pUnit, Event) --@Flame Spike,n/a--
pUnit:FullCastSpellOnTarget(8814,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_2453', 12000, 1)
end

function Sorts_2453(pUnit, Event)
local choix_sorts_2453 = math.random(0, 2)
if choix_sorts_2453 == 0 then
pUnit:RegisterEvent('spell0_2453', 1, 1)
end
if choix_sorts_2453 == 1 then
pUnit:RegisterEvent('spell1_2453', 1, 1)
end
if choix_sorts_2453 == 2 then
pUnit:RegisterEvent('spell2_2453', 1, 1)
end
end

function mob2453_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_2453', math.random(1500, 3000), 1)
end

function mob2453_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob2453_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob2453_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(2453, 1, 'mob2453_Action')
RegisterUnitEvent(2453, 2, 'mob2453_Leave')
RegisterUnitEvent(2453, 3, 'mob2453_Kill')
RegisterUnitEvent(2453, 4, 'mob2453_Die')
